#pragma once
#include "DataPool.h"

class DataServer  
{
	static DataServer _server;
public:
	static DataServer* getInstance();

public:
	DataServer();
	~DataServer();
    DataPool* getPool(DataPool::PoolName);
    void clearData();

	void Push(int N);

protected:
	void addPool(DataPool*);

protected:
	std::vector<DataPool*> pools;
};

// API
BetPool* GetBetPool(int N);